<html>
<head><style type="text/css">td { border:1pt solid #000; vertical-align:top; font-size:9pt; font-family:Arial;}
</style>
</head>
<body>

<big style="font-family: Arial;"> Comparison Summary </big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Modelica_3_2_1_Build_4 with alias name: Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b>Modelica_3_2_1_Build_2 with alias name: Version 2</b>
</td>
</tr>
<td> Version: 3.2.1 Build 4</td><td> Version: 3.2.1 Build 2</td><tr><td> Version date: 2015-09-30</td><td> Version date: 2013-08-14</td><tr></tbody></table><br><br>
<big style="font-family: Arial;">block Blocks.Interfaces.PartialBooleanMISO</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">initial equation<br><br>  pre(u) = fill(false, nu);<br><br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Math.RectifiedMean</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mean<br></td><td style="text-align: left; vertical-align: middle;">final x0=x0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">x0<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Math.RootMeanSquare</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mean<br></td><td style="text-align: left; vertical-align: middle;">final x0=x0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">x0<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Math.Harmonic</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mean1<br></td><td style="text-align: left; vertical-align: middle;">final x0=x0Cos<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mean2<br></td><td style="text-align: left; vertical-align: middle;">final x0=x0Sin<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">x0Cos<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">x0Sin<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">block Blocks.Nonlinear.SlewRateLimiter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Falling<br></td><td style="text-align: left; vertical-align: middle;">max=-small<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">min=-small<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealDiode</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Vknee<br></td><td style="text-align: left; vertical-align: middle;">=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealThyristor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Vknee<br></td><td style="text-align: left; vertical-align: middle;">=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealGTOThyristor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Vknee<br></td><td style="text-align: left; vertical-align: middle;">=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealOpeningSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.IdealClosingSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledIdealOpeningSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">level<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledIdealClosingSwitch</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">level<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.OpenerWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.CloserWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledOpenerWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">level<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.ControlledCloserWithArc</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">level<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Ron<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Goff<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>graphical</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tSwitch<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.AD_Converter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">z<br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Analog.Ideal.DA_Converter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">vout<br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">y<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Sources.Pulse</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">T0<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Digital.Sources.Clock</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">t_i<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">w_meas<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.AngularVelocity</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Current</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pf_meas<br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Current</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">eff_meas<br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Current</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smr<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpm<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smee<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">smee<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smee<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yy.Yy00</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n2, core.plug_p3);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yy.Yy02</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(star2.pin_n, starpoint2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot2.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot2.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yy.Yy04</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(star2.pin_n, starpoint2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_n, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_n, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yy.Yy06</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n2, core.plug_p3);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n3);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n3);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, star2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yy.Yy08</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(star2.pin_n, starpoint2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yy.Yy10</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(star2.pin_n, starpoint2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot2.plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot2.plug_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yd.Yd01</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star1.pin_n, starpoint1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_n3, Delta2.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yd.Yd03</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star1.pin_n, starpoint1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot2.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot2.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yd.Yd05</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star1.pin_n, starpoint1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_n2, core.plug_p3);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, Delta2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yd.Yd07</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star1.pin_n, starpoint1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_p2, Delta2.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n3);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n3);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yd.Yd09</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star1.pin_n, starpoint1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yd.Yd11</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star1.pin_n, starpoint1);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_n3, Delta2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yz.Yz01</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_n, core.plug_n2);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yz.Yz03</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_n, core.plug_n2);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yz.Yz05</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n2);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n2);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yz.Yz07</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n2);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n2);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yz.Yz09</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_p, core.plug_n2);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Yz.Yz11</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_p, core.plug_n2);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dy.Dy01</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star2.pin_n, starpoint2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot2.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot2.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Delta1.plug_p, r1.plug_p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dy.Dy03</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(star2.pin_n, starpoint2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_n, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_n, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Delta1.plug_p, r1.plug_p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dy.Dy05</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n2, core.plug_p3);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n3);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n3);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, star2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dy.Dy07</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dy.Dy09</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot2.plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot2.plug_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dy.Dy11</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dd.Dd00</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_n2, core.plug_p3);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, Delta2.plug_n);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dd.Dd02</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot2.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot2.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dd.Dd04</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_p2, Delta2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dd.Dd06</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_p, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Delta1.plug_p, r1.plug_p);<br> ... <br>  connect(Delta2.plug_n, core.plug_p2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dd.Dd08</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Rot2.plug_p, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dd.Dd10</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(r1.plug_p, Delta1.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_p);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(Delta2.plug_n, r2.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_n);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(l1sigma.plug_n, core.plug_p1);<br> ... <br>  connect(core.plug_n2, core.plug_p3);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  connect(core.plug_p2, l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, Delta2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dz.Dz00</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_n, core.plug_n2);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dz.Dz02</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_n);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_p);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_p);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_n, core.plug_n2);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dz.Dz04</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_p3, Rot21.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n2);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n2);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dz.Dz06</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> core.plug_n2);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> core.plug_n2);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dz.Dz08</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_p, core.plug_n2);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.BasicMachines.Transformers.Dz.Dz10</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(core.plug_n3, star2.plug_p);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(0, 153, 0); font-weight: bold;">plug_n,</span> Rot22.plug_n);
</td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.<span style="color: rgb(102, 0, 204); font-weight: bold;">plug_p,</span> Rot22.plug_n);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(Rot22.plug_p, core.plug_n2);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Losses.InductionMachines.Core</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">coreParameters<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;">=coreParameters.m<br></td><td style="text-align: left; vertical-align: middle;">=3<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Losses.DCMachines.Core</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">coreParameters<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">final m=1<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Thermal.ThermalAmbientTransformer</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">constT2<br></td><td style="text-align: left; vertical-align: middle;">final k=T2<br></td><td style="text-align: left; vertical-align: middle;">final k=T1<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Machines.Interfaces.PartialBasicTransformer</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">powerBalance<br></td><td style="text-align: left; vertical-align: middle;">final power1=Machines.SpacePhasors.Functions.activePower(v1, i1)<br></td><td style="text-align: left; vertical-align: middle;">final power1=Machines.SpacePhasors.Functions.activePower(v1, +i1)<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">final power2=Machines.SpacePhasors.Functions.activePower(v2, i2)<br></td><td style="text-align: left; vertical-align: middle;">final power2=Machines.SpacePhasors.Functions.activePower(v2, -i2)<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(r1.plug_n, l1sigma.plug_p);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(l2sigma.plug_n,r2.plug_p);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(plug1, r1.plug_p);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">  connect(r2.plug_n, plug2);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(thermalPort, internalThermalPort);<br> ... <br>  connect(r2.heatPort, internalThermalPort.heatPort2);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(r2.plug_p, plug2);<br>  connect(l2sigma.plug_p, r2.plug_n);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.MultiPhase.Ideal.IdealDiode</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  connect(idealDiode.n, plug_n.pin);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  connect(idealDiode.heatPort, heatPort);<br>
</td>
<td><br></td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.MultiPhase.Ideal.IdealThyristor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">off<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  off = idealThyristor.off;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  connect(plug_p.pin, idealThyristor.p);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Basic.Delta</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>      if j &lt; m then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(plugToPins_n.pin_n[j],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">plugToPins_p.pin_p[j </span><span style="color: rgb(0, 153, 0); font-weight: bold;">+ 1]);</span>
</td>
<td style="vertical-align: middle; text-align: left;">          <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(plugToPins_p.pin_p[j],</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">plugToPins_n.pin_n[j+1]);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          <span style="color: rgb(0, 153, 0); font-weight: bold;">connect(plugToPins_n.pin_n[j],</span> <span style="color: rgb(0, 153, 0); font-weight: bold;">plugToPins_p.pin_p[1]);</span>
</td>
<td style="vertical-align: middle; text-align: left;">          <span style="color: rgb(102, 0, 204); font-weight: bold;">connect(plugToPins_p.pin_p[j],</span> <span style="color: rgb(102, 0, 204); font-weight: bold;">plugToPins_n.pin_n[1]);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.QuasiStationary.MultiPhase.Sensors.PowerSensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 110px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">currentP<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">currentN<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">voltageP<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">voltageN<br></td><td style="text-align: left; vertical-align: middle;">final m=m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">X1<br></td><td style="text-align: left; vertical-align: middle;">X1(X1(X1(Q1(vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbc(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0))), X2(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X3(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X4(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X5(Q1(vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbc(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X6(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0))), X7(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true), vbc(start=0, fixed=true)), RC(v(start=0))), X8(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X9(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0)))), X2(X1(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=false)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbc(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true))), X2(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0))), X3(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true)), RC(v(start=0))), X4(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X5(Q1(vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X6(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X7(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0))), X8(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X9(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0)))))<br></td><td style="text-align: left; vertical-align: middle;">X1(X1(X1(Q1(vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbc(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0))), X2(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X3(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X4(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X5(Q1(vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbc(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X6(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0))), X7(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true), vbc(start=0, fixed=true)), RC(v(start=0))), X8(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X9(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0)))), X2(X1(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbc(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true))), X2(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0))), X3(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true)), RC(v(start=0))), X4(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X5(Q1(vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X6(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbe(start=0, fixed=true))), X7(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0))), X8(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true))), X9(Q1(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q2(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q3(Binternal(start=0), icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q4(icapbe(start=0), vbc(start=0, fixed=true), vbe(start=0, fixed=true)), Q5(vbc(start=0, fixed=true), vbe(start=0, fixed=true)), RC(v(start=0)))))<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Sources.V_pulse</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">T0<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Electrical.Spice3.Sources.I_pulse</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">T0<br></td><td style="text-align: left; vertical-align: middle;">fixed=true<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Spice3.Internal.Mos.mos2CalcInitEquations</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">in_vp<br></td><td style="text-align: left; vertical-align: middle;"><b>Electrical.Spice3.Internal.Mos2.Mos2ModelLineVariables</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Electrical.Spice3.Internal.Mos.MosModelLineVariables</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Spice3.Internal.Mos.mos2CalcCalcTempDependencies</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">in_vp<br></td><td style="text-align: left; vertical-align: middle;"><b>Electrical.Spice3.Internal.Mos2.Mos2ModelLineVariables</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Electrical.Spice3.Internal.Mos.MosModelLineVariables</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Spice3.Internal.Mos.mos2CalcNoBypassCode</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="9" style="vertical-align: middle;">in_qm<br></td><td style="text-align: left; vertical-align: middle;">qm_capgb=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_capgs=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_capgd=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_qgs=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_qgb=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_qgd=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_vgs=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_vgb=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">qm_vgd=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="20" style="vertical-align: middle;">int_m<br></td><td style="text-align: left; vertical-align: middle;">m_len=1e-4<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_width=1e-4<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_drainArea=Spice3.Internal.SpiceConstants.CKTdefaultMosAD<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_sourceArea=Spice3.Internal.SpiceConstants.CKTdefaultMosAS<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_drainSquares=1.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_sourceSquares=1.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_drainPerimeter=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_sourcePerimeter=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_dICVDS=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_dICVDSIsGiven=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_dICVGS=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_dICVGSIsGiven=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_dICVBS=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_dICVBSIsGiven=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_off=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_bPMOS=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_nLevel=1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_drainPerimiter=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_sourcePerimiter=0.0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">m_uic=false<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Electrical.Spice3.Internal.Bjt.bjtNoBypassCode</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">temp<br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Temp_K</b><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(0, 153, 0); font-weight: bold;">temp </span>:= <span style="color: rgb(0, 153, 0); font-weight: bold;">0;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  <span style="color: rgb(102, 0, 204); font-weight: bold;">vce </span>:= <span style="color: rgb(102, 0, 204); font-weight: bold;">in_p.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">m_type * (in_m_pVoltageValues[4] - in_m_pVoltageValues[6]);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  vce =  in_p.m_type * (in_m_pVoltageValues[4] - in_m_pVoltageValues[6]);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  vbe =  in_p.m_type * (in_m_pVoltageValues[5] - in_m_pVoltageValues[6]);<br> ... <br>            if (in_p.m_transitTimeHighCurrentF &lt;&gt; 0) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">               <span style="color: rgb(0, 153, 0); font-weight: bold;">temp =  </span>cbe / (cbe + in_p.m_transitTimeHighCurrentF);
</td>
<td style="vertical-align: middle; text-align: left;">               cbe <span style="color: rgb(102, 0, 204); font-weight: bold;">=  cbe </span>/ (cbe + in_p.m_transitTimeHighCurrentF);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">                argtf =  argtf * temp * temp;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpmM<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpmE<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpmM<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smpm3<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smeeM<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smeeE<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smeeM<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smee3<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smrM<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smrE<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smrM<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">smr3<br></td><td style="text-align: left; vertical-align: middle;">ir(each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">ir(fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">world<br></td><td style="text-align: left; vertical-align: middle;">gravitySphereDiameter=0.1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">world<br></td><td style="text-align: left; vertical-align: middle;">redeclare function gravityAcceleration = Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.theoreticalNormalGravityWGS84 (phi=geodeticLatitude)<br></td><td style="text-align: left; vertical-align: middle;">redeclare function gravityAcceleration = Modelica.Mechanics.MultiBody.Examples.Elementary.Utilities.theoreticalNormalGravityWGS84 (mue=1, phi=geodeticLatitude)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Joints.Revolute</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  frame_b.r_0 = frame_a.r_0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">Connections.</span>rooted(frame_a.R) then
</td>
<td style="vertical-align: middle; text-align: left;">  if rooted(frame_a.R) then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      R_rel = Frames.planarRotation(e, phi_offset + phi, w);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Joints.Spherical</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>      frame_b.r_0 = frame_a.r_0;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      if <span style="color: rgb(0, 153, 0); font-weight: bold;">Connections.</span>rooted(frame_a.R) then
</td>
<td style="vertical-align: middle; text-align: left;">      if rooted(frame_a.R) then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">          R_rel_inv = Frames.nullRotation();<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Joints.FreeMotion</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>      Connections.branch(frame_a.R, frame_b.R);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      if <span style="color: rgb(0, 153, 0); font-weight: bold;">Connections.</span>rooted(frame_a.R) then
</td>
<td style="vertical-align: middle; text-align: left;">      if rooted(frame_a.R) then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">          R_rel_inv = Frames.nullRotation();<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Joints.Internal.InitAngle</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  R_rel = Frames.axesRotations(sequence_start,<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{angle[1], angle[2], angle[3]},<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{der(angle[1]), der(angle[2]), der(angle[3])});
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">Connections.</span>rooted(frame_a.R) then
</td>
<td style="vertical-align: middle; text-align: left;">  if rooted(frame_a.R) then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">       R_rel_inv = Frames.nullRotation();<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.MultiBody.Parts.FixedRotation</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  frame_b.r_0 = frame_a.r_0 + Frames.resolve1(frame_a.R, r);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">Connections.</span>rooted(frame_a.R) then
</td>
<td style="vertical-align: middle; text-align: left;">  if rooted(frame_a.R) then
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      frame_b.R = Frames.absoluteRotation(frame_a.R, R_rel);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.Utilities.DirectInertia</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">J<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">=1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.Utilities.InverseInertia</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">J<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">=1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.Utilities.SpringDamper</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">c<br></td><td style="text-align: left; vertical-align: middle;">=1e4<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">d<br></td><td style="text-align: left; vertical-align: middle;">=1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">springDamper<br></td><td style="text-align: left; vertical-align: middle;"><b>Mechanics.Rotational.Examples.Utilities.SpringDamperNoRelativeStates</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Mechanics.Rotational.Components.SpringDamper</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Examples.Utilities.Spring</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">c<br></td><td style="text-align: left; vertical-align: middle;">=1e4<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Rotational.Components.LossyGear</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 484px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">interpolation_result<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  14<br></td><td style="text-align: left; vertical-align: middle;">sizes=,  1-1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">eta_mf1<br></td><td style="text-align: left; vertical-align: middle;">unit="1"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">eta_mf2<br></td><td style="text-align: left; vertical-align: middle;">unit="1"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_bf_a<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_eta<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_bf1<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_bf2<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant1<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant2<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant3<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant4<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant1_p<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant2_p<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant3_m<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">quadrant4_m<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">eta_mf1_0<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Math.Vectors.interpolate(lossTable[:, 1], lossTable[:, 2], 0, 1)<br></td><td style="text-align: left; vertical-align: middle;">=interpolation_result_0[1, 1]<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">unit="1"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">eta_mf2_0<br></td><td style="text-align: left; vertical-align: middle;">=Modelica_3_2_1_Build_4.Math.Vectors.interpolate(lossTable[:, 1], lossTable[:, 3], 0, 1)<br></td><td style="text-align: left; vertical-align: middle;">=interpolation_result_0[1, 2]<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">unit="1"<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_bf1_0<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_bf2_0<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">tau_bf_a_0<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Torque</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Real</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">interpolation_result_0<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>ideal = Modelica_3_2_1_Build_4.Math.Matrices.isEqual(<br>&nbsp&nbsplossTable,<br>&nbsp&nbsp[0,1,1,0,0],<br>&nbsp&nbspModelica_3_2_1_Build_4.Constants.eps);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>if ideal then
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">interpolation_result = </span>if ideal then <span style="color: rgb(102, 0, 204); font-weight: bold;">[1,1,0,0] else<br>  Modelica_3_2_1_Build_2.Math.tempInterpol2(<br>  noEvent(abs(w_a)),<br>  lossTable,<br>  {2,3,4,5});</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      interpolation_result = [1, 1, 0, 0];<br>      eta_mf1 = 1;<br>      eta_mf2 = 1;<br>      tau_bf1 = 0;<br>      tau_bf2 = 0;<br>  else<br>interpolation_result = [Modelica_3_2_1_Build_4.Math.Vectors.interpolate(<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 1],<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 2],<br>&nbsp&nbsp&nbsp&nbspnoEvent(abs(w_a)),<br>&nbsp&nbsp&nbsp&nbsp1),Modelica_3_2_1_Build_4.Math.Vectors.interpolate(<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 1],<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 3],<br>&nbsp&nbsp&nbsp&nbspnoEvent(abs(w_a)),<br>&nbsp&nbsp&nbsp&nbsp1),Modelica_3_2_1_Build_4.Math.Vectors.interpolate(<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 1],<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 4],<br>&nbsp&nbsp&nbsp&nbspnoEvent(abs(w_a)),<br>&nbsp&nbsp&nbsp&nbsp1),Modelica_3_2_1_Build_4.Math.Vectors.interpolate(<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 1],<br>&nbsp&nbsp&nbsp&nbsplossTable[:, 5],<br>&nbsp&nbsp&nbsp&nbspnoEvent(abs(w_a)),<br>&nbsp&nbsp&nbsp&nbsp1)];<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      eta_mf1 = interpolation_result[1, 1];<br> ... <br>      tau_bf2 = noEvent(abs(interpolation_result[1, 4]));
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  end if;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">if Modelica_3_2_1_Build_4.Math.isEqual(<br>&nbsp&nbspeta_mf1,<br>&nbsp&nbsp1.0,<br>&nbsp&nbspModelica_3_2_1_Build_4.Constants.eps) and Modelica_3_2_1_Build_4.Math.isEqual(<br>&nbsp&nbspeta_mf2,<br>&nbsp&nbsp1.0,<br>&nbsp&nbspModelica_3_2_1_Build_4.Constants.eps) then<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Mechanics.Translational.Examples.InitialConditions</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">s1<br></td><td style="text-align: left; vertical-align: middle;">s_rel(start=0.5, fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">s_rel(start=1, fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">quantity=Medium.mediumName<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">mXi<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">quantity=Medium.substanceNames<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.BaseClasses.TankWithTopPorts</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">level<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Length</b><br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Height</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.Test.OneTank</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="3" style="vertical-align: middle;">tank<br></td><td style="text-align: left; vertical-align: middle;">level_start=0.8<br></td><td style="text-align: left; vertical-align: middle;">level_start=0<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">stiffCharacteristicForEmptyPort=false<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">hysteresisFactor=0.01<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.Test.TwoTanks</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">system<br></td><td style="text-align: left; vertical-align: middle;">energyDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">massDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe1</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">system<br></td><td style="text-align: left; vertical-align: middle;">energyDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">massDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.Test.TankWithEmptyingPipe2</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">system<br></td><td style="text-align: left; vertical-align: middle;">energyDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">massDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe1</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">system<br></td><td style="text-align: left; vertical-align: middle;">energyDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">massDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.AST_BatchPlant.Test.TanksWithEmptyingPipe2</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">system<br></td><td style="text-align: left; vertical-align: middle;">energyDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">massDynamics=Modelica_3_2_1_Build_4.Fluid.Types.Dynamics.FixedInitial<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.HeatExchanger.HeatExchangerSimulation</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="4" style="vertical-align: middle;">HEX<br></td><td style="text-align: left; vertical-align: middle;">length=20<br></td><td style="text-align: left; vertical-align: middle;">length=2<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">area_h_1=0.075*20<br></td><td style="text-align: left; vertical-align: middle;">area_h_1=0.075*2*20<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">area_h_2=0.075*20<br></td><td style="text-align: left; vertical-align: middle;">area_h_2=0.075*2*20<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">redeclare model HeatTransfer_2 = Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer (alpha0=2000)<br></td><td style="text-align: left; vertical-align: middle;">redeclare model HeatTransfer_2 = Modelica.Fluid.Pipes.BaseClasses.HeatTransfer.ConstantFlowHeatTransfer (alpha0=200)<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">massFlowRate1<br></td><td style="text-align: left; vertical-align: middle;">m_flow=0.2<br></td><td style="text-align: left; vertical-align: middle;">m_flow=0.5<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">Ramp1<br></td><td style="text-align: left; vertical-align: middle;">height=0.4<br></td><td style="text-align: left; vertical-align: middle;">height=-1<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">offset=-0.2<br></td><td style="text-align: left; vertical-align: middle;">offset=0.5<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.HeatExchanger.BaseClasses.BasicHX</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">wall<br></td><td style="text-align: left; vertical-align: middle;">area_h=area_h<br></td><td style="text-align: left; vertical-align: middle;">area_h=(crossArea_1 + crossArea_2)/2<br></td></tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">pipe_1<br></td><td style="text-align: left; vertical-align: middle;">final p_a_start=p_a_start1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">final p_b_start=p_b_start1<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pipe_2<br></td><td style="text-align: left; vertical-align: middle;">final p_a_start=p_a_start2<br></td><td style="text-align: left; vertical-align: middle;">final p_a_start=p_a_start1<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Examples.HeatExchanger.BaseClasses.WallConstProps</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>     end if;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">     heatPort_a[i].<span style="color: rgb(0, 153, 0); font-weight: bold;">Q_flow=2*k_wall/s*(Ta[i]-T[i])*area_h/n;</span>
</td>
<td style="vertical-align: middle; text-align: left;">     heatPort_a[i].<span style="color: rgb(102, 0, 204); font-weight: bold;">Q_flow=k_wall/s*(Ta[i]-T[i])*area_h/n;</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">     heatPort_b[i].<span style="color: rgb(0, 153, 0); font-weight: bold;">Q_flow=2*k_wall/s*(Tb[i]-T[i])*area_h/n;</span>
</td>
<td style="vertical-align: middle; text-align: left;">     heatPort_b[i].<span style="color: rgb(102, 0, 204); font-weight: bold;">Q_flow=k_wall/s*(Tb[i]-T[i])*area_h/n;</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end for;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Pipes.DynamicPipe</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">heatTransfer<br></td><td style="text-align: left; vertical-align: middle;">redeclare final package Medium = Medium<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">redeclare each final package Medium = Medium<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Pipes.BaseClasses.FlowModels.PartialStaggeredFlowModel</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">m_flows_turbulent<br></td><td style="text-align: left; vertical-align: middle;">={nParallel*(crossAreas[i] + crossAreas[i + 1])/(dimensions[i] + dimensions[i + 1])*mus_act[i]*Re_turbulent for i in 1:n - 1}<br></td><td style="text-align: left; vertical-align: middle;">={nParallel*(Modelica_3_2_1_Build_2.Constants.pi/4)*0.5*(dimensions[i] + dimensions[i + 1])*mus_act[i]*Re_turbulent for i in 1:n - 1}<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Pipes.BaseClasses.FlowModels.PartialGenericPipeFlow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_fric_nominal<br></td><td style="text-align: left; vertical-align: middle;">=sum(WallFriction.pressureLoss_m_flow(m_flow_nominal/nParallel, rho_nominal, rho_nominal, mu_nominal, mu_nominal, pathLengths_internal, diameters, (crossAreas[1:n - 1] + crossAreas[2:n])/2, (roughnesses[1:n - 1] + roughnesses[2:n])/2, m_flow_small/nParallel, Res_turbulent_internal))<br></td><td style="text-align: left; vertical-align: middle;">=sum(WallFriction.pressureLoss_m_flow(m_flow_nominal/nParallel, rho_nominal, rho_nominal, mu_nominal, mu_nominal, pathLengths_internal, diameters, (roughnesses[1:n - 1] + roughnesses[2:n])/2, m_flow_small/nParallel, Res_turbulent_internal))<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>      if from_dp and not WallFriction.dp_is_zero then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          m_flows = homotopy(<br>            actual = WallFriction.massFlowRate_dp(<br>                       dps_fg - {g*dheights[i]*rhos_act[i] for i in 1:n-1},<br>                       rhos_act,<br>                       rhos_act,<br>                       mus_act,<br>                       mus_act,<br>                       pathLengths_internal,<br>                       diameters,<br>                       <span style="color: rgb(0, 153, 0); font-weight: bold;">(crossAreas[1:n-1]+crossAreas[2:n])/2,<br>                       </span>(roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       dp_small/(n-1),<br>                       Res_turbulent_internal)*nParallel,<br>            simplified = m_flow_nominal/dp_nominal*(dps_fg - g*dheights*rho_nominal));
</td>
<td style="vertical-align: middle; text-align: left;">          m_flows = homotopy(<br>            actual = WallFriction.massFlowRate_dp(<br>                       dps_fg - {g*dheights[i]*rhos_act[i] for i in 1:n-1},<br>                       rhos_act,<br>                       rhos_act,<br>                       mus_act,<br>                       mus_act,<br>                       pathLengths_internal,<br>                       diameters,<br>                       (roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       dp_small/(n-1),<br>                       Res_turbulent_internal)*nParallel,<br>            simplified = m_flow_nominal/dp_nominal*(dps_fg - g*dheights*rho_nominal));
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          dps_fg = homotopy(<br>            actual = WallFriction.pressureLoss_m_flow(<br>                       m_flows/nParallel,<br>                       rhos_act,<br>                       rhos_act,<br>                       mus_act,<br>                       mus_act,<br>                       pathLengths_internal,<br>                       diameters,<br>                       <span style="color: rgb(0, 153, 0); font-weight: bold;">(crossAreas[1:n-1]+crossAreas[2:n])/2,<br>                       </span>(roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       m_flow_small/nParallel,<br>                       Res_turbulent_internal) + {g*dheights[i]*rhos_act[i] for i in 1:n-1},<br>            simplified = dp_nominal/m_flow_nominal*m_flows + g*dheights*rho_nominal);
</td>
<td style="vertical-align: middle; text-align: left;">          dps_fg = homotopy(<br>            actual = WallFriction.pressureLoss_m_flow(<br>                       m_flows/nParallel,<br>                       rhos_act,<br>                       rhos_act,<br>                       mus_act,<br>                       mus_act,<br>                       pathLengths_internal,<br>                       diameters,<br>                       (roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       m_flow_small/nParallel,<br>                       Res_turbulent_internal) + {g*dheights[i]*rhos_act[i] for i in 1:n-1},<br>            simplified = dp_nominal/m_flow_nominal*m_flows + g*dheights*rho_nominal);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      end if;<br> ... <br>      if from_dp and not WallFriction.dp_is_zero then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          m_flows = homotopy(<br>            actual = WallFriction.massFlowRate_dp_staticHead(<br>                       dps_fg,<br>                       rhos[1:n-1],<br>                       rhos[2:n],<br>                       mus[1:n-1],<br>                       mus[2:n],<br>                       pathLengths_internal,<br>                       diameters,<br>                       g*dheights,<br>                       <span style="color: rgb(0, 153, 0); font-weight: bold;">(crossAreas[1:n-1]+crossAreas[2:n])/2,<br>                       </span>(roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       dp_small/(n-1),<br>                       Res_turbulent_internal)*nParallel,<br>            simplified = m_flow_nominal/dp_nominal*(dps_fg - g*dheights*rho_nominal));
</td>
<td style="vertical-align: middle; text-align: left;">          m_flows = homotopy(<br>            actual = WallFriction.massFlowRate_dp_staticHead(<br>                       dps_fg,<br>                       rhos[1:n-1],<br>                       rhos[2:n],<br>                       mus[1:n-1],<br>                       mus[2:n],<br>                       pathLengths_internal,<br>                       diameters,<br>                       g*dheights,<br>                       (roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       dp_small/(n-1),<br>                       Res_turbulent_internal)*nParallel,<br>            simplified = m_flow_nominal/dp_nominal*(dps_fg - g*dheights*rho_nominal));
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">          dps_fg = homotopy(<br>            actual = WallFriction.pressureLoss_m_flow_staticHead(<br>                       m_flows/nParallel,<br>                       rhos[1:n-1],<br>                       rhos[2:n],<br>                       mus[1:n-1],<br>                       mus[2:n],<br>                       pathLengths_internal,<br>                       diameters,<br>                       g*dheights,<br>                       <span style="color: rgb(0, 153, 0); font-weight: bold;">(crossAreas[1:n-1]+crossAreas[2:n])/2,<br>                       </span>(roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       m_flow_small/nParallel,<br>                       Res_turbulent_internal),<br>            simplified = dp_nominal/m_flow_nominal*m_flows + g*dheights*rho_nominal);
</td>
<td style="vertical-align: middle; text-align: left;">          dps_fg = homotopy(<br>            actual = WallFriction.pressureLoss_m_flow_staticHead(<br>                       m_flows/nParallel,<br>                       rhos[1:n-1],<br>                       rhos[2:n],<br>                       mus[1:n-1],<br>                       mus[2:n],<br>                       pathLengths_internal,<br>                       diameters,<br>                       g*dheights,<br>                       (roughnesses[1:n-1]+roughnesses[2:n])/2,<br>                       m_flow_small/nParallel,<br>                       Res_turbulent_internal),<br>            simplified = dp_nominal/m_flow_nominal*m_flows + g*dheights*rho_nominal);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Pipes.BaseClasses.FlowModels.NominalTurbulentPipeFlow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dps_fg_turbulent<br></td><td style="text-align: left; vertical-align: middle;">each min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(0, 153, 0); font-weight: bold;">initial equation<br></span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">  </span><span style="color: rgb(102, 0, 204); font-weight: bold;">for i in 1:n-1 loop</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  for i in 1:n loop<br>      assert(abs(crossAreas[i] - pi/4*dimensions[i]^2) &lt; 1e-10*crossAreas[i],<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"NominalTurbulentPipeFlow model requires circular tubes");<br>  end for;<br><br>equation<br>&nbsp&nbspfor i in 1:n-1 loop<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      ks_inv[i] = (m_flow_nominal/nParallel)^2/((dp_nominal/(n-1)-g*dheights[i]*rhos_act[i]))/rhos_act[i];<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Pipes.BaseClasses.FlowModels.TurbulentPipeFlow</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">initial equation<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  for i in 1:n loop<br>      assert(abs(crossAreas[i] - pi/4*dimensions[i]^2) &lt; 1e-10*crossAreas[i],<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp"NominalTurbulentPipeFlow model requires circular tubes");<br>  end for;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if system.use_eps_Re then<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.massFlowRate_dp</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.massFlowRate_dp_staticHead</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.pressureLoss_m_flow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.PartialWallFriction.pressureLoss_m_flow_staticHead</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.massFlowRate_dp_staticHead</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if dp&gt;=dp_a then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp - dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp - dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  elseif dp&lt;=dp_b then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (m_flow_a, dm_flow_ddp_fric_a) =  Internal.m_flow_of_dp_fric(dp_a-dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (m_flow_a, dm_flow_ddp_fric_a) =  Internal.m_flow_of_dp_fric(dp_a-dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (m_flow_b, dm_flow_ddp_fric_b) =  Internal.m_flow_of_dp_fric(dp_b-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (m_flow_b, dm_flow_ddp_fric_b) =  Internal.m_flow_of_dp_fric(dp_b-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      (m_flow, dm_flow_ddp_fric_zero) =  Utilities.regFun3(dp_zero, dp_b, dp_a, m_flow_b, m_flow_a, dm_flow_ddp_fric_b, dm_flow_ddp_fric_a);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.pressureLoss_m_flow_staticHead</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  assert(roughness &gt; 1e-10,<br>&nbsp&nbsp&nbsp&nbsp"roughness &gt; 0 required for quadratic turbulent wall friction characteristic");
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  m_flow_a =  if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_b - dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea,</span> Re1, Re2, Delta)+m_flow_small else<br>    m_flow_small;
</td>
<td style="vertical-align: middle; text-align: left;">  m_flow_a =  if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_b - dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter,  Re1, Re2, Delta)+m_flow_small else<br>    m_flow_small;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  m_flow_b =  if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_a - dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea,</span> Re1, Re2, Delta)-m_flow_small else<br>    -m_flow_small;
</td>
<td style="vertical-align: middle; text-align: left;">  m_flow_b =  if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_a - dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter,  Re1, Re2, Delta)-m_flow_small else<br>    -m_flow_small;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if m_flow&gt;=m_flow_a then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta) + dp_grav_a;
</td>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta) + dp_grav_a;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  elseif m_flow&lt;=m_flow_b then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta) + dp_grav_b;
</td>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta) + dp_grav_b;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (dp_a, ddp_dm_flow_a) =  Internal.dp_fric_of_m_flow(m_flow_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea,</span> Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (dp_a, ddp_dm_flow_a) =  Internal.dp_fric_of_m_flow(m_flow_a, rho_a, rho_b, mu_a, mu_b, length, diameter,  Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      dp_a =  dp_a + dp_grav_a "Adding dp_grav to dp_fric to get dp";
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (dp_b, ddp_dm_flow_b) =  Internal.dp_fric_of_m_flow(m_flow_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea,</span> Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (dp_b, ddp_dm_flow_b) =  Internal.dp_fric_of_m_flow(m_flow_b, rho_a, rho_b, mu_a, mu_b, length, diameter,  Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      dp_b =  dp_b + dp_grav_b "Adding dp_grav to dp_fric to get dp";<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.Internal.m_flow_of_dp_fric</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.Internal.dp_fric_of_m_flow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.massFlowRate_dp</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">pi<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  end if;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  m_flow =  <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea/diameter*mu*(if </span>dp &gt;= 0 then Re else -Re);
</td>
<td style="vertical-align: middle; text-align: left;">  m_flow =  <span style="color: rgb(102, 0, 204); font-weight: bold;">(pi*diameter/4)*mu*(if </span>dp &gt;= 0 then Re else -Re);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.pressureLoss_m_flow</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  mu      = if m_flow &gt;= 0 then mu_a else mu_b;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  Re = <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">diameter*abs(m_flow)/(crossArea*mu);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  Re = <span style="color: rgb(102, 0, 204); font-weight: bold;">(4/pi)*abs(m_flow)/(diameter*mu);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  lambda2 =  if Re &lt;= Re1 then 64*Re else<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp(if Re &gt;= Re2 then 0.25*(Re/Math.log10(Delta/3.7 + 5.74/Re^0.9))^2 else<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspinterpolateInRegion2(Re, Re1, Re2, Delta));<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.massFlowRate_dp_staticHead</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  if dp&gt;=dp_a then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp-dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp-dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  elseif dp&lt;=dp_b then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      m_flow =  Internal.m_flow_of_dp_fric(dp-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (m_flow_a, dm_flow_ddp_fric_a) =  Internal.m_flow_of_dp_fric(dp_a-dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (m_flow_a, dm_flow_ddp_fric_a) =  Internal.m_flow_of_dp_fric(dp_a-dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (m_flow_b, dm_flow_ddp_fric_b) =  Internal.m_flow_of_dp_fric(dp_b-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (m_flow_b, dm_flow_ddp_fric_b) =  Internal.m_flow_of_dp_fric(dp_b-dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      (m_flow, dm_flow_ddp_fric_zero) =  Utilities.regFun3(dp_zero, dp_b, dp_a, m_flow_b, m_flow_a, dm_flow_ddp_fric_b, dm_flow_ddp_fric_a);<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.pressureLoss_m_flow_staticHead</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  m_flow_a := if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_b - dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta)+m_flow_small else<br>    m_flow_small;
</td>
<td style="vertical-align: middle; text-align: left;">  m_flow_a := if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_b - dp_grav_a, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta)+m_flow_small else<br>    m_flow_small;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  m_flow_b =  if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_a - dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta)-m_flow_small else<br>    -m_flow_small;
</td>
<td style="vertical-align: middle; text-align: left;">  m_flow_b =  if dp_grav_a&lt;dp_grav_b then<br>    Internal.m_flow_of_dp_fric(dp_grav_a - dp_grav_b, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta)-m_flow_small else<br>    -m_flow_small;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if m_flow&gt;=m_flow_a then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta) + dp_grav_a;
</td>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta) + dp_grav_a;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  elseif m_flow&lt;=m_flow_b then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta) + dp_grav_b;
</td>
<td style="vertical-align: middle; text-align: left;">      dp =  Internal.dp_fric_of_m_flow(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta) + dp_grav_b;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (dp_a, ddp_dm_flow_a) =  Internal.dp_fric_of_m_flow(m_flow_a, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (dp_a, ddp_dm_flow_a) =  Internal.dp_fric_of_m_flow(m_flow_a, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      dp_a =  dp_a + dp_grav_a "Adding dp_grav to dp_fric to get dp";
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      (dp_b, ddp_dm_flow_b) =  Internal.dp_fric_of_m_flow(m_flow_b, rho_a, rho_b, mu_a, mu_b, length, diameter, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>Re1, Re2, Delta);
</td>
<td style="vertical-align: middle; text-align: left;">      (dp_b, ddp_dm_flow_b) =  Internal.dp_fric_of_m_flow(m_flow_b, rho_a, rho_b, mu_a, mu_b, length, diameter, Re1, Re2, Delta);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      dp_b =  dp_b + dp_grav_b "Adding dp_grav to dp_fric to get dp";<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.Internal.m_flow_of_dp_fric</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  end if;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  m_flow =  <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea/diameter*mu*(if </span>dp_fric &gt;= 0 then Re else -Re);
</td>
<td style="vertical-align: middle; text-align: left;">  m_flow =  <span style="color: rgb(102, 0, 204); font-weight: bold;">(pi*diameter/4)*mu*(if </span>dp_fric &gt;= 0 then Re else -Re);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  dm_flow_ddp_fric =  <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea/diameter*mu*dRe_ddp;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  dm_flow_ddp_fric =  <span style="color: rgb(102, 0, 204); font-weight: bold;">(pi*diameter*mu)/4*dRe_ddp;</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Pipes.BaseClasses.WallFriction.Detailed.Internal.dp_fric_of_m_flow</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  end if;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  Re = <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span><span style="color: rgb(0, 153, 0); font-weight: bold;">abs(m_flow)*diameter/(crossArea*mu);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  Re = <span style="color: rgb(102, 0, 204); font-weight: bold;">(4/pi)*abs(m_flow)/(diameter*mu);</span>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  aux1 =  <span style="color: rgb(0, 153, 0); font-weight: bold;">diameter/(crossArea*mu);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  aux1 =  <span style="color: rgb(102, 0, 204); font-weight: bold;">4/(pi*diameter*mu);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if Re &lt;= Re1 then<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Pipes.BaseClasses.WallFriction.TestWallFrictionAndGravity</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">dp_fric_nominal<br></td><td style="text-align: left; vertical-align: middle;">=WallFriction.pressureLoss_m_flow(m_flow_nominal, rho_nominal, rho_nominal, mu_nominal, mu_nominal, length, diameter, crossArea, roughness, m_flow_small)<br></td><td style="text-align: left; vertical-align: middle;">=WallFriction.pressureLoss_m_flow(m_flow_nominal, rho_nominal, rho_nominal, mu_nominal, mu_nominal, length, diameter, roughness, m_flow_small)<br></td></tr><tr><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">crossArea<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  if from_dp and not WallFriction.dp_is_zero then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      m_flow = WallFriction.massFlowRate_dp_staticHead(dp, rho_a, rho_b, mu_a, mu_b, length, diameter,<br>        g_times_height_ab, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>roughness, if use_x_small_staticHead then dp_small_staticHead else dp_small);
</td>
<td style="vertical-align: middle; text-align: left;">      m_flow = WallFriction.massFlowRate_dp_staticHead(dp, rho_a, rho_b, mu_a, mu_b, length, diameter,<br>        g_times_height_ab, roughness, if use_x_small_staticHead then dp_small_staticHead else dp_small);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      dp = WallFriction.pressureLoss_m_flow_staticHead(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter,<br>        g_times_height_ab, <span style="color: rgb(0, 153, 0); font-weight: bold;">crossArea, </span>roughness, if use_x_small_staticHead then m_flow_small_staticHead else m_flow_small);
</td>
<td style="vertical-align: middle; text-align: left;">      dp = WallFriction.pressureLoss_m_flow_staticHead(m_flow, rho_a, rho_b, mu_a, mu_b, length, diameter,<br>        g_times_height_ab, roughness, if use_x_small_staticHead then m_flow_small_staticHead else m_flow_small);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Machines.BaseClasses.PartialPump</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">show_NPSHa<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.Bends.CurvedBend</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.Bends.EdgedBend</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.Orifices.ThickEdgedOrifice</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.GenericResistances.VolumeFlowRate</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.SimpleGenericOrifice</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">zeta_nominal<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">start=zeta<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(0, 153, 0); font-weight: bold;">zeta_nominal </span>= <span style="color: rgb(0, 153, 0); font-weight: bold;">2*A_mean^2*d*dp_nominal/m_flow_nominal^2;</span>
</td>
<td style="vertical-align: middle; text-align: left;">      <span style="color: rgb(102, 0, 204); font-weight: bold;">dp_nominal </span>= <span style="color: rgb(102, 0, 204); font-weight: bold;">BaseClasses.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">lossConstant_D_zeta(diameter, zeta_nominal)/d*m_flow_nominal^2;</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.BaseClasses.QuadraticTurbulent.BaseModel</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Fittings.BaseClasses.QuadraticTurbulent.BaseModelNonconstantCrossSectionArea</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_small<br></td><td style="text-align: left; vertical-align: middle;">min=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Fluid.Interfaces.PartialTwoPortTransport</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_start<br></td><td style="text-align: left; vertical-align: middle;">min=-Modelica_3_2_1_Build_4.Constants.inf<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.HeatTransfer.Channel.kc_evenGapOverall_KC</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">IN_con_turb<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  kc := SMOOTH(<br>          laminar,<br>          turbulent,<br>          Re)*Dissipation.HeatTransfer.Channel.kc_evenGapLaminar_KC(<br>    IN_con, IN_var) + SMOOTH(<br>          turbulent,<br>          laminar,<br>          Re)*Dissipation.HeatTransfer.Channel.kc_evenGapTurbulent_KC(<br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">IN_con_turb,</span> IN_var);
</td>
<td style="vertical-align: middle; text-align: left;">  kc := SMOOTH(<br>          laminar,<br>          turbulent,<br>          Re)*Dissipation.HeatTransfer.Channel.kc_evenGapLaminar_KC(<br>    IN_con, IN_var) + SMOOTH(<br>          turbulent,<br>          laminar,<br>          Re)*Dissipation.HeatTransfer.Channel.kc_evenGapTurbulent_KC(<br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">IN_con,</span> IN_var);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.HeatTransfer.StraightPipe.kc_laminar_KC</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Nu3<br></td><td style="text-align: left; vertical-align: middle;">=if IN_con.target == TYP.UWTuUFF then (2/(1 + 22*Pr))^(1/6)*(Re*Pr*IN_con.d_hyd/IN_con.L)^0.5 else if IN_con.target == TYP.UHFuUFF then 0.924*(Pr^(1/3))*(Re*IN_con.d_hyd/IN_con.L)^(1/2) else 0<br></td><td style="text-align: left; vertical-align: middle;">=if IN_con.target == TYP.UWTuUFF then (2/(1 + 22*Pr))^(1/6)*(Re*Pr*IN_con.d_hyd/IN_con.L)^0.5 else if IN_con.target == TYP.UHFuUFF then 1.953*(Re*Pr*IN_con.d_hyd/IN_con.L)^(1/3) else 0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.HeatTransfer.StraightPipe.kc_overall_KC</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">IN_con_turb<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">IN_con_lam<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  kc := SMOOTH(<br>          laminar,<br>          turbulent,<br>          Re)*Dissipation.HeatTransfer.StraightPipe.<span style="color: rgb(0, 153, 0); font-weight: bold;">kc_laminar_KC(IN_con_lam,</span><br>    IN_var) + SMOOTH(<br>          turbulent,<br>          laminar,<br>          Re)*Dissipation.HeatTransfer.StraightPipe.kc_turbulent_KC(<br>    <span style="color: rgb(0, 153, 0); font-weight: bold;">IN_con_turb,</span> IN_var);
</td>
<td style="vertical-align: middle; text-align: left;">  kc := SMOOTH(<br>          laminar,<br>          turbulent,<br>          Re)*Dissipation.HeatTransfer.StraightPipe.<span style="color: rgb(102, 0, 204); font-weight: bold;">kc_laminar_KC(IN_con,</span><br>    IN_var) + SMOOTH(<br>          turbulent,<br>          laminar,<br>          Re)*Dissipation.HeatTransfer.StraightPipe.kc_turbulent_KC(<br>    <span style="color: rgb(102, 0, 204); font-weight: bold;">IN_con,</span> IN_var);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.PressureLoss.Bend.dp_curvedOverall_DP</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">A2<br></td><td style="text-align: left; vertical-align: middle;">=if frac_RD > 2.0 then 6e2 else if frac_RD <= 2.0 and frac_RD > 0.55 then (if frac_RD > 1.0 then 1e3 else if frac_RD <= 1.0 and frac_RD > 0.7 then 3e3 else 6e3) else 4e3<br></td><td style="text-align: left; vertical-align: middle;">=if frac_RD > 2.0 then 6e2 else if frac_RD <= 2.0 and frac_RD >= 0.7 then (if frac_RD > 1.0 then 1e3 else if frac_RD <= 1.0 and frac_RD > 0.7 then 3e3 else 6e3) else 4e3<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.PressureLoss.Bend.dp_curvedOverall_MFLOW</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 88px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">A2<br></td><td style="text-align: left; vertical-align: middle;">=if frac_RD > 2.0 then 6e2 else if frac_RD <= 2.0 and frac_RD > 0.55 then (if frac_RD > 1.0 then 1e3 else if frac_RD <= 1.0 and frac_RD > 0.7 then 3e3 else 6e3) else 4e3<br></td><td style="text-align: left; vertical-align: middle;">=if frac_RD > 2.0 then 6e2 else if frac_RD <= 2.0 and frac_RD >= 0.7 then (if frac_RD > 1.0 then 1e3 else if frac_RD <= 1.0 and frac_RD > 0.7 then 3e3 else 6e3) else 4e3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_lam<br></td><td style="text-align: left; vertical-align: middle;">=if 1e7*sqrt(abs(zeta_LOC_sharp_turb*abs(dp)*IN_var.rho*d_hyd^2)) < abs(A2*IN_var.eta) then 2*abs(dp)*d_hyd/A2/IN_var.eta else (-A2/2*IN_var.eta + 0.5*sqrt(max(MIN, (A2*IN_var.eta)^2 + 8*zeta_LOC_sharp_turb*abs(dp)*IN_var.rho*d_hyd^2)))/zeta_LOC_sharp_turb/IN_var.rho/d_hyd<br></td><td style="text-align: left; vertical-align: middle;">=(-A2/2*IN_var.eta + 0.5*sqrt(max(MIN, (A2*IN_var.eta)^2 + 8*zeta_LOC_sharp_turb*abs(dp)*IN_var.rho*d_hyd^2)))/zeta_LOC_sharp_turb/IN_var.rho/d_hyd<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_tra<br></td><td style="text-align: left; vertical-align: middle;">=if 1e7*sqrt(abs(zeta_LOC_sharp_turb*abs(dp_lam_max)*IN_var.rho*d_hyd^2)) < abs(A2*IN_var.eta) then 2*abs(dp_lam_max)*d_hyd/A2/IN_var.eta else (-A2/2*IN_var.eta + 0.5*sqrt(max(MIN, (A2*IN_var.eta)^2 + 8*zeta_LOC_sharp_turb*abs(dp_lam_max)*IN_var.rho*d_hyd^2)))/zeta_LOC_sharp_turb/IN_var.rho/d_hyd<br></td><td style="text-align: left; vertical-align: middle;">=(-A2/2*IN_var.eta + 0.5*sqrt(max(MIN, (A2*IN_var.eta)^2 + 8*zeta_LOC_sharp_turb*abs(dp_lam_max)*IN_var.rho*d_hyd^2)))/zeta_LOC_sharp_turb/IN_var.rho/d_hyd<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_DP</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 242px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Re_lam_min<br></td><td style="text-align: left; vertical-align: middle;">=5e2<br></td><td style="text-align: left; vertical-align: middle;">=1e3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Re_lam_max<br></td><td style="text-align: left; vertical-align: middle;">=1e4<br></td><td style="text-align: left; vertical-align: middle;">=4e4<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Re_turb_max<br></td><td style="text-align: left; vertical-align: middle;">=2e5<br></td><td style="text-align: left; vertical-align: middle;">=3e5<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">B<br></td><td style="text-align: left; vertical-align: middle;">=24.8<br></td><td style="text-align: left; vertical-align: middle;">=0.0292*(delta)^2 + 1.1995*delta<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">exp<br></td><td style="text-align: left; vertical-align: middle;">=0.263<br></td><td style="text-align: left; vertical-align: middle;">=1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_FRI_rough<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_4.Math.log10(k/(3.7*IN_con.d_hyd) + 5.74/max(Re_lam_min, Re)^0.9))^2<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_2.Math.log10(k/(3.7*IN_con.d_hyd) + 5.74/min(Re_turb_const, max(Re_lam_leave, Re))^0.9))^2<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_FRI_smooth<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_4.Math.log10(5.74/max(Re_lam_min, Re)^0.9))^2<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_2.Math.log10(5.74/min(Re_turb_const, max(Re_lam_leave, Re))^0.9))^2<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">CF_fri<br></td><td style="text-align: left; vertical-align: middle;">=SMOOTH(Re_lam_leave, Re_lam_min, Re)*max(1, min(1.4, (lambda_FRI_rough/lambda_FRI_smooth))) + SMOOTH(Re_lam_min, Re_lam_leave, Re)<br></td><td style="text-align: left; vertical-align: middle;">=if delta <= 45 then max(1, min(1.4, (lambda_FRI_rough/lambda_FRI_smooth))) else 1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">CF_Re<br></td><td style="text-align: left; vertical-align: middle;">=SMOOTH(Re_turb_min, Re_turb_max, Re)*B/Re^exp + SMOOTH(Re_turb_max, Re_turb_min, Re)<br></td><td style="text-align: left; vertical-align: middle;">=SMOOTH(Re_min, Re_lam_leave, Re)*B/Re^exp + SMOOTH(Re_lam_leave, Re_min, Re)<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">zeta_TOT<br></td><td style="text-align: left; vertical-align: middle;">=A*C1*zeta_LOC*CF_Re*CF_fri<br></td><td style="text-align: left; vertical-align: middle;">=A*C1*zeta_LOC*CF_fri*CF_Re<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.PressureLoss.Bend.dp_edgedOverall_MFLOW</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 704px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Re_lam_min<br></td><td style="text-align: left; vertical-align: middle;">=500<br></td><td style="text-align: left; vertical-align: middle;">=1e3<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Re_lam_max<br></td><td style="text-align: left; vertical-align: middle;">=1e4<br></td><td style="text-align: left; vertical-align: middle;">=4e4<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">Re_turb_max<br></td><td style="text-align: left; vertical-align: middle;">=2e5<br></td><td style="text-align: left; vertical-align: middle;">=3e5<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">B<br></td><td style="text-align: left; vertical-align: middle;">=24.8<br></td><td style="text-align: left; vertical-align: middle;">=0.0292*(delta)^2 + 1.1995*delta<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">exp<br></td><td style="text-align: left; vertical-align: middle;">=0.263<br></td><td style="text-align: left; vertical-align: middle;">=1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_min<br></td><td style="text-align: left; vertical-align: middle;">=A*C1*zeta_LOC*(B/2)*(d_hyd/IN_var.eta)^(-exp)*IN_var.rho^(1 - exp)*v_min^(pow)<br></td><td style="text-align: left; vertical-align: middle;">=1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_turb<br></td><td style="text-align: left; vertical-align: middle;">=(A*C1*zeta_LOC*IN_var.rho/2)^(-0.5)*Modelica_3_2_1_Build_4.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(abs(dp), dp_min, 0.5)<br></td><td style="text-align: left; vertical-align: middle;">=(2*abs(dp))^0.5*(A*C1*zeta_LOC*IN_var.rho)^(-0.5)<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_lam<br></td><td style="text-align: left; vertical-align: middle;">=(2*(d_hyd/IN_var.eta)^exp/(A*C1*zeta_LOC*B*(IN_var.rho)^(1 - exp)))^(1/pow)*Modelica_3_2_1_Build_4.Fluid.Dissipation.Utilities.Functions.General.SmoothPower(abs(dp), dp_min, 1/pow)<br></td><td style="text-align: left; vertical-align: middle;">=(2*(d_hyd/IN_var.eta)^exp/(A*C1*zeta_LOC*B*(IN_var.rho)^(1 - exp)))^(1/pow)*Fluid.Dissipation.Utilities.Functions.General.SmoothPower(abs(dp), dp_min, 1/pow)<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_smooth<br></td><td style="text-align: left; vertical-align: middle;">=if abs(dp) > dp_turb_max then v_turb else if abs(dp) < dp_turb_min then v_lam else SMOOTH(dp_turb_max, dp_turb_min, abs(dp))*v_turb + SMOOTH(dp_turb_min, dp_turb_max, abs(dp))*v_lam<br></td><td style="text-align: left; vertical-align: middle;">=if abs(dp) > dp_lam_max then v_turb else if abs(dp) < dp_lam_trans then v_lam else SMOOTH(dp_lam_max, dp_lam_trans, abs(dp))*v_turb + SMOOTH(dp_lam_trans, dp_lam_max, abs(dp))*v_lam<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_FRI_rough<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_4.Math.log10(k/(3.7*IN_con.d_hyd) + 5.74/max(Re_lam_min, Re_smooth)^0.9))^2<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_2.Math.log10(k/(3.7*IN_con.d_hyd) + 5.74/min(Re_turb_const, max(Re_lam_leave, Re_smooth))^0.9))^2<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_FRI_smooth<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_4.Math.log10(5.74/max(Re_lam_min, Re_smooth)^0.9))^2<br></td><td style="text-align: left; vertical-align: middle;">=0.25/(Modelica_3_2_1_Build_2.Math.log10(5.74/min(Re_turb_const, max(Re_lam_leave, Re_smooth))^0.9))^2<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">CF_fri<br></td><td style="text-align: left; vertical-align: middle;">=SMOOTH(dp_lam_leave, dp_lam_min, abs(dp))*max(1, min(1.4, (lambda_FRI_rough/lambda_FRI_smooth))) + SMOOTH(dp_lam_min, dp_lam_leave, abs(dp))<br></td><td style="text-align: left; vertical-align: middle;">=if delta <= 45 then max(1, min(1.4, (lambda_FRI_rough/lambda_FRI_smooth))) else 1<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_min<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_lam_min<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_lam_leave<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_lam_min<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_lam_leave_rough<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_lam_leave_smooth<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_lam_leave<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_turb_min_rough<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_turb_min_smooth<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_turb_max_rough<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lambda_turb_max_smooth<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_turb_min<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_turb_max<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_turb_min<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_turb_max<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_lam_trans<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">v_lam_max<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_lam_trans<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dp_lam_max<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_DP</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">IN_con_lam<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  DP := SMOOTH(<br>          Re_lam_min,<br>          Re_lam_max,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_laminar_DP(<br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">IN_con_lam,<br>          IN_var,<br>          m_flow) + SMOOTH(<br>          Re_lam_max,<br>          Re_lam_min,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_turbulent_DP(<br>          </span>IN_con,<br>          IN_var,<br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">m_flow);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  DP := SMOOTH(<br>          Re_lam_min,<br>          Re_lam_max,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_laminar_DP(<br>          IN_con,<br>          IN_var,<br>          <span style="color: rgb(102, 0, 204); font-weight: bold;">m_flow) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">+ SMOOTH(<br>          Re_lam_max,<br>          Re_lam_min,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_turbulent_DP(<br>          IN_con,<br>          IN_var,<br>          m_flow);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_MFLOW</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">IN_con_lam<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  M_FLOW := SMOOTH(<br>          Re_lam_min,<br>          Re_turb,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_laminar_MFLOW(<br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">IN_con_lam,<br>          IN_var,<br>          dp) + SMOOTH(<br>          Re_turb,<br>          Re_lam_min,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_turbulent_MFLOW(<br>          </span>IN_con,<br>          IN_var,<br>          <span style="color: rgb(0, 153, 0); font-weight: bold;">dp);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  M_FLOW := SMOOTH(<br>          Re_lam_min,<br>          Re_turb,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_laminar_MFLOW(<br>          IN_con,<br>          IN_var,<br>          <span style="color: rgb(102, 0, 204); font-weight: bold;">dp) </span><span style="color: rgb(102, 0, 204); font-weight: bold;">+ SMOOTH(<br>          Re_turb,<br>          Re_lam_min,<br>          Re)*Dissipation.PressureLoss.StraightPipe.dp_turbulent_MFLOW(<br>          IN_con,<br>          IN_var,<br>          dp);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.Utilities.Functions.General.SmoothPower_der</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">ddeltax<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">dpow<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  elseif noEvent(x &lt;= -adeltax) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      dy =  <span style="color: rgb(0, 153, 0); font-weight: bold;">dx*pow*(-x)^(pow </span>- 1);
</td>
<td style="vertical-align: middle; text-align: left;">      dy =  <span style="color: rgb(102, 0, 204); font-weight: bold;">-dx*pow*(-x)^(pow </span>- 1);
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.Utilities.Functions.General.Stepsmoother</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">r_1<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">result := if x &gt;= func <span style="color: rgb(0, 153, 0); font-weight: bold;">and func </span>&gt; nofunc or x &lt;= func <span style="color: rgb(0, 153, 0); font-weight: bold;">and nofunc &gt; func </span>then 1<br> <span style="color: rgb(0, 153, 0); font-weight: bold;">  </span>else if x &lt;= nofunc and func &gt; nofunc or x &gt;= nofunc and nofunc &gt; func then<br> <span style="color: rgb(0, 153, 0); font-weight: bold;"> </span>0 else <span style="color: rgb(0, 153, 0); font-weight: bold;">(1 </span>+ <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica_3_2_1_Build_4.Math.tanh(Modelica_3_2_1_Build_4.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">Math.tan(<br>  m*x + b)))/2;</span>
</td>
<td style="vertical-align: middle; text-align: left;"><span style="color: rgb(102, 0, 204); font-weight: bold;">  </span>result := if x &gt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">0.999999*(func - nofunc) + nofunc and </span>func &gt; nofunc or x<br> <span style="color: rgb(102, 0, 204); font-weight: bold;">    </span>&lt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">0.999999*(func - nofunc) + nofunc and nofunc &gt; </span>func then 1 else if x<br> <span style="color: rgb(102, 0, 204); font-weight: bold;">    </span>&lt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">0.000001*(func - nofunc) + </span>nofunc and func &gt; nofunc or x &gt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">0.000001*(<br>    func - nofunc) + </span>nofunc and nofunc &gt; func then 0 else <span style="color: rgb(102, 0, 204); font-weight: bold;">((0.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">5*(exp(r_1) - exp(<br>    -r_1))/(0.5*(exp(r_1) </span>+ <span style="color: rgb(102, 0, 204); font-weight: bold;">exp(-r_1))) + 1)/2);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Fluid.Dissipation.Utilities.Functions.General.Stepsmoother_der</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">dresult := if x &gt;= func <span style="color: rgb(0, 153, 0); font-weight: bold;">and func </span>&gt; nofunc or x &lt;= <span style="color: rgb(0, 153, 0); font-weight: bold;">func and nofunc &gt; func or x<br> </span>  <span style="color: rgb(0, 153, 0); font-weight: bold;">&lt;= nofunc and func &gt; nofunc or x &gt;= nofunc and nofunc &gt; func then 0 else (1<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;"> - Modelica_3_2_1_Build_4.Math.tanh(Modelica_3_2_1_Build_4.Math.tan(m*x </span>+ <span style="color: rgb(0, 153, 0); font-weight: bold;">b))<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;">^2)*(1 + Modelica_3_2_1_Build_4.Math.tan(m*x + b)^2)*(-m^2/<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica_3_2_1_Build_4.Constants.pi*(dfunc </span>- <span style="color: rgb(0, 153, 0); font-weight: bold;">dnofunc)*x </span>+ <span style="color: rgb(0, 153, 0); font-weight: bold;">m*dx </span>+ <span style="color: rgb(0, 153, 0); font-weight: bold;">m^2/<br> </span> <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica_3_2_1_Build_4.Constants.pi*(dfunc - dnofunc)*nofunc </span><span style="color: rgb(0, 153, 0); font-weight: bold;">- m*dnofunc)/2;</span>
</td>
<td style="vertical-align: middle; text-align: left;">dresult := if x &gt;= <span style="color: rgb(102, 0, 204); font-weight: bold;">0.999*(func - nofunc) + nofunc and </span>func &gt; nofunc or x &lt;=<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">0.999*(func - nofunc) + nofunc and nofunc &gt; func or x &lt;= 0.001*(func - nofunc)<br> </span>  + <span style="color: rgb(102, 0, 204); font-weight: bold;">nofunc </span><span style="color: rgb(102, 0, 204); font-weight: bold;">and func &gt; nofunc or x &gt;= 0.001*(func - nofunc) + nofunc and nofunc<br> </span>  <span style="color: rgb(102, 0, 204); font-weight: bold;">&gt; func then </span><span style="color: rgb(102, 0, 204); font-weight: bold;">0 else (1 </span>- <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_2.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">Math.tanh(<br>  Modelica_3_2_1_Build_2.Math.tan(m*x </span>+ <span style="color: rgb(102, 0, 204); font-weight: bold;">b))^2)*(1 </span>+<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_2.Math.tan(m*x + b)^2)*m*dx/2;</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Media.Examples.TestOnly.MixIdealGasAir</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">medium2<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.8}, each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.8}, fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">model Media.Examples.TestOnly.FlueGas</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">medium2<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.1,0.3,0.4}, each fixed=true)<br></td><td style="text-align: left; vertical-align: middle;">X(start={0.2,0.1,0.3,0.4}, fixed=true)<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Interfaces.PartialSimpleIdealGasMedium.setState_psX</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">state := ThermodynamicState(p=p, <span style="color: rgb(0, 153, 0); font-weight: bold;">T=Modelica_3_2_1_Build_4.</span>Math.exp(s/cp_const<br>   + <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">log(reference_T) </span>+ R_gas*<br>  <span style="color: rgb(0, 153, 0); font-weight: bold;">Modelica_3_2_1_Build_4.</span>Math.<span style="color: rgb(0, 153, 0); font-weight: bold;">log(p/reference_p)));</span>
</td>
<td style="vertical-align: middle; text-align: left;">state := ThermodynamicState(p=p, <span style="color: rgb(102, 0, 204); font-weight: bold;">T=Modelica_3_2_1_Build_2.</span>Math.exp(s/cp_const<br>   + <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_2.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">log(reference_T)) </span>+ R_gas*<br>  <span style="color: rgb(102, 0, 204); font-weight: bold;">Modelica_3_2_1_Build_2.</span>Math.<span style="color: rgb(102, 0, 204); font-weight: bold;">log(p/reference_p));</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Interfaces.PartialSimpleIdealGasMedium.specificInternalEnergy</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  u := <span style="color: rgb(0, 153, 0); font-weight: bold;">cp_const*(state.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">T </span>- <span style="color: rgb(0, 153, 0); font-weight: bold;">T0) </span>- <span style="color: rgb(0, 153, 0); font-weight: bold;">R_gas*state.</span><span style="color: rgb(0, 153, 0); font-weight: bold;">T;</span>
</td>
<td style="vertical-align: middle; text-align: left;">  u := <span style="color: rgb(102, 0, 204); font-weight: bold;">(cp_const </span>- <span style="color: rgb(102, 0, 204); font-weight: bold;">R_gas)*(state.</span><span style="color: rgb(102, 0, 204); font-weight: bold;">T </span>- <span style="color: rgb(102, 0, 204); font-weight: bold;">T0);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Interfaces.PartialSimpleIdealGasMedium.specificHelmholtzEnergy</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  f := <span style="color: rgb(0, 153, 0); font-weight: bold;">specificInternalEnergy(state) </span>- <span style="color: rgb(0, 153, 0); font-weight: bold;">state.T*specificEntropy(state);</span>
</td>
<td style="vertical-align: middle; text-align: left;">  f := <span style="color: rgb(102, 0, 204); font-weight: bold;">(cp_const </span>- <span style="color: rgb(102, 0, 204); font-weight: bold;">R_gas)*(state.T </span><span style="color: rgb(102, 0, 204); font-weight: bold;">- T0) - state.T*specificEntropy(state);</span>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">record Media.Common.IF97BaseTwoPhase</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="2" style="vertical-align: middle;">phase<br></td><td style="text-align: left; vertical-align: middle;">start=0<br></td><td style="text-align: left; vertical-align: middle;">  <br></td></tr><tr><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;">=0<br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">package Media.Incompressible.TableBased</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">T_min<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Temperature</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Media.Interfaces.Types.Temperature</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">T_max<br></td><td style="text-align: left; vertical-align: middle;"><b>SIunits.Temperature</b><br></td><td style="text-align: left; vertical-align: middle;"><b>Media.Interfaces.Types.Temperature</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Incompressible.TableBased.Polynomials_Temp.integral</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  end for;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  p2[n] =  0.0;<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.BaseIF97.Transport.cond_dTp</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">TREL<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">rhoREL<br></td><td style="text-align: left; vertical-align: middle;">  <br></td><td style="text-align: left; vertical-align: middle;"><b>parameter</b><br></td></tr></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.rho_ph_der</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">properties<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">aux<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">(properties.</span>region == 4) then
</td>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(102, 0, 204); font-weight: bold;">(aux.</span>region == 4) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      rho_der =  <span style="color: rgb(0, 153, 0); font-weight: bold;">(properties.rho*(properties.rho*properties.cv/properties.</span>dpT + 1.<span style="color: rgb(0, 153, 0); font-weight: bold;">0)/(properties.dpT*properties.</span>T))*p_der<br>         + <span style="color: rgb(0, 153, 0); font-weight: bold;">(-properties.rho*properties.rho/(properties.dpT*properties.</span>T))*h_der;
</td>
<td style="vertical-align: middle; text-align: left;">      rho_der =  <span style="color: rgb(102, 0, 204); font-weight: bold;">(aux.rho*(aux.rho*aux.cv/aux.</span>dpT + 1.<span style="color: rgb(102, 0, 204); font-weight: bold;">0)/(aux.dpT*aux.</span>T))*p_der<br>         + <span style="color: rgb(102, 0, 204); font-weight: bold;">(-aux.rho*aux.rho/(aux.dpT*aux.</span>T))*h_der;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  elseif <span style="color: rgb(0, 153, 0); font-weight: bold;">(properties.</span>region == 3) then
</td>
<td style="vertical-align: middle; text-align: left;">  elseif <span style="color: rgb(102, 0, 204); font-weight: bold;">(aux.</span>region == 3) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      rho_der =  <span style="color: rgb(0, 153, 0); font-weight: bold;">((properties.rho*(properties.cv*properties.</span>rho + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.pt))/(properties.rho*properties.rho*properties.</span>pd*<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.</span>cv + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.pt*properties.</span>pt))*p_der + <span style="color: rgb(0, 153, 0); font-weight: bold;">(-properties.rho*properties.rho*properties.pt/(properties.</span>rho<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">*properties.rho*properties.pd*properties.</span>cv + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.pt*properties.</span>pt))*h_der;
</td>
<td style="vertical-align: middle; text-align: left;">      rho_der =  <span style="color: rgb(102, 0, 204); font-weight: bold;">((aux.rho*(aux.cv*aux.</span>rho + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.pt))/(aux.rho*aux.rho*aux.</span>pd*<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.</span>cv + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.pt*aux.</span>pt))*p_der + <span style="color: rgb(102, 0, 204); font-weight: bold;">(-aux.rho*aux.rho*aux.pt/(aux.</span>rho<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">*aux.rho*aux.pd*aux.</span>cv + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.pt*aux.</span>pt))*h_der;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      rho_der =  <span style="color: rgb(0, 153, 0); font-weight: bold;">(-properties.rho*properties.rho*(properties.vp*properties.</span>cp - <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.vt/properties.</span>rho + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.</span>vt<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">*properties.vt)/properties.</span>cp)*p_der + <span style="color: rgb(0, 153, 0); font-weight: bold;">(-properties.rho*properties.rho*properties.vt/(properties.</span>cp))*h_der;
</td>
<td style="vertical-align: middle; text-align: left;">      rho_der =  <span style="color: rgb(102, 0, 204); font-weight: bold;">(-aux.rho*aux.rho*(aux.vp*aux.</span>cp - <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.vt/aux.</span>rho + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.</span>vt<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">*aux.vt)/aux.</span>cp)*p_der + <span style="color: rgb(102, 0, 204); font-weight: bold;">(-aux.rho*aux.rho*aux.vt/(aux.</span>cp))*h_der;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.T_ph_der</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">properties<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">aux<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(0, 153, 0); font-weight: bold;">(properties.</span>region == 4) then
</td>
<td style="vertical-align: middle; text-align: left;">  if <span style="color: rgb(102, 0, 204); font-weight: bold;">(aux.</span>region == 4) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      T_der =  <span style="color: rgb(0, 153, 0); font-weight: bold;">1/properties.</span>dpT*p_der;
</td>
<td style="vertical-align: middle; text-align: left;">      T_der =  <span style="color: rgb(102, 0, 204); font-weight: bold;">1/aux.</span>dpT*p_der;
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  elseif <span style="color: rgb(0, 153, 0); font-weight: bold;">(properties.</span>region == 3) then
</td>
<td style="vertical-align: middle; text-align: left;">  elseif <span style="color: rgb(102, 0, 204); font-weight: bold;">(aux.</span>region == 3) then
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      T_der =  <span style="color: rgb(0, 153, 0); font-weight: bold;">((-properties.rho*properties.</span>pd + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.pt)/(properties.rho*properties.rho*properties.pd*properties.</span>cv<br>         + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.pt*properties.</span>pt))*p_der + <span style="color: rgb(0, 153, 0); font-weight: bold;">((properties.rho*properties.rho*properties.pd)/(properties.rho*properties.</span>rho<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">*properties.pd*properties.</span>cv + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.pt*properties.</span>pt))*h_der;
</td>
<td style="vertical-align: middle; text-align: left;">      T_der =  <span style="color: rgb(102, 0, 204); font-weight: bold;">((-aux.rho*aux.</span>pd + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.pt)/(aux.rho*aux.rho*aux.pd*aux.</span>cv<br>         + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.pt*aux.</span>pt))*p_der + <span style="color: rgb(102, 0, 204); font-weight: bold;">((aux.rho*aux.rho*aux.pd)/(aux.rho*aux.</span>rho<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">*aux.pd*aux.</span>cv + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.pt*aux.</span>pt))*h_der;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  else
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      T_der =  <span style="color: rgb(0, 153, 0); font-weight: bold;">((-1/properties.</span>rho + <span style="color: rgb(0, 153, 0); font-weight: bold;">properties.T*properties.vt)/properties.</span>cp)*p_der + <span style="color: rgb(0, 153, 0); font-weight: bold;">(1/properties.</span>cp)*h_der;
</td>
<td style="vertical-align: middle; text-align: left;">      T_der =  <span style="color: rgb(102, 0, 204); font-weight: bold;">((-1/aux.</span>rho + <span style="color: rgb(102, 0, 204); font-weight: bold;">aux.T*aux.vt)/aux.</span>cp)*p_der + <span style="color: rgb(102, 0, 204); font-weight: bold;">(1/aux.</span>cp)*h_der;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end if;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.s_ph_der</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 66px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">properties<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">aux<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">algorithm<br>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">  s_der := <span style="color: rgb(0, 153, 0); font-weight: bold;">-1/(properties.rho*properties.</span>T)*p_der + <span style="color: rgb(0, 153, 0); font-weight: bold;">1/properties.</span>T*h_der;
</td>
<td style="vertical-align: middle; text-align: left;">  s_der := <span style="color: rgb(102, 0, 204); font-weight: bold;">-1/(aux.rho*aux.</span>T)*p_der + <span style="color: rgb(102, 0, 204); font-weight: bold;">1/aux.</span>T*h_der;
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Media.Water.IF97_Utilities.waterBaseProp_dT</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>      aux.pt =  aux.R*rho*f.delta*(f.fdelta - f.tau*f.fdeltatau);
</td>
</tr>
<tr>
<td><br></td>
<td style="vertical-align: middle; text-align: left;">      aux.cp =  (aux.rho*aux.rho*aux.pd*aux.cv + aux.T*aux.pt*aux.pt)/(aux.rho*<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspaux.rho*aux.pd);<br>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.cv =  aux.R*(-f.tau*f.tau*f.ftautau);
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      aux.cp =  (aux.rho*aux.rho*aux.pd*aux.cv + aux.T*aux.pt*aux.pt)/(aux.rho*<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspaux.rho*aux.pd);<br>
</td>
<td><br></td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">      aux.x =  0.0;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LU_solve2</big><br><br>
<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;"><br> ... <br>  for i in 1:size(LU, 1) loop
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">      assert(LU[i, i] &lt;&gt; 0, "Solving a linear system of equations with function<br>\"Matrices.<span style="color: rgb(0, 153, 0); font-weight: bold;">LU_solve2\" </span>is not possible, since the LU decomposition<br>is singular, i.e., no unique solution exists.");
</td>
<td style="vertical-align: middle; text-align: left;">      assert(LU[i, i] &lt;&gt; 0, "Solving a linear system of equations with function<br>\"Matrices.<span style="color: rgb(102, 0, 204); font-weight: bold;">LU_solve\" </span>is not possible, since the LU decomposition<br>is singular, i.e., no unique solution exists.");
</td>
</tr>
<tr>
<td colspan="2"
style="vertical-align: middle; text-align: left;">  end for;<br> ... <br>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgelsx</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lwork<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgelsx(<br>        nrow,<br>        ncol,<br>        nrhs,<br>        Awork,<br>        nrow,<br>        X,<br>        nx,<br>        jpvt,<br>        rcond,<br>        rank,<br>        work,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">info);</span>
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgelsx(<br>        nrow,<br>        ncol,<br>        nrhs,<br>        Awork,<br>        nrow,<br>        X,<br>        nx,<br>        jpvt,<br>        rcond,<br>        rank,<br>        work,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">lwork,</span><span style="color: rgb(102, 0, 204); font-weight: bold;"><br>        info);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgelsx_vec</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">lwork<br></td><td style="text-align: left; vertical-align: middle;"><br></td><td style="text-align: left; vertical-align: middle;">Present<br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgelsx(<br>        nrow,<br>        ncol,<br>        1,<br>        Awork,<br>        nrow,<br>        x,<br>        nx,<br>        jpvt,<br>        rcond,<br>        rank,<br>        work,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">info);</span>
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgelsx(<br>        nrow,<br>        ncol,<br>        1,<br>        Awork,<br>        nrow,<br>        x,<br>        nx,<br>        jpvt,<br>        rcond,<br>        rank,<br>        work,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">lwork,</span><span style="color: rgb(102, 0, 204); font-weight: bold;"><br>        info);</span>
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<big style="font-family: Arial;">function Math.Matrices.LAPACK.dgesvx</big><br><br>
<table style="border-collapse: collapse;text-align: left; width: 100%;height: 44px;" 
 cellpadding="5">
<colgroup span="3"><col width="10%"><col width="45%"><col width="45%"></colgroup><tbody>
<tr>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Component</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 1</span><br>
</td>
<td style="text-align: left; vertical-align: middle;"><span
style="font-weight: bold;">Version 2</span><br>
</td>
</tr><tr><td colspan="1" rowspan="1" style="vertical-align: middle;">equed<br></td><td style="text-align: left; vertical-align: middle;">Present<br></td><td style="text-align: left; vertical-align: middle;"><br></td></tr></tbody>
</table>

<br><table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="50%"><col width="50%"></colgroup><tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><b>Equations in Version 1</b>
</td>
<td style="vertical-align: middle; text-align: center;"><b> Equations in Version 2</b>
</td>
</tr>
<tr>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgesvx(<br>        "N",<br>        transA,<br>        size(A, 1),<br>        size(B, 2),<br>        Awork,<br>        lda,<br>        AF,<br>        lda,<br>        ipiv,<br>        <span style="color: rgb(0, 153, 0); font-weight: bold;">equed,</span><br>        R,<br>        C,<br>        B,<br>        lda,<br>        X,<br>        lda,<br>        rcond,<br>        ferr,<br>        berr,<br>        work,<br>        iwork,<br>        info);
</td>
<td style="vertical-align: middle; text-align: left;">external<br>      "FORTRAN 77" dgesvx(<br>        "N",<br>        transA,<br>        size(A, 1),<br>        size(B, 2),<br>        Awork,<br>        lda,<br>        AF,<br>        lda,<br>        ipiv,<br>        <span style="color: rgb(102, 0, 204); font-weight: bold;">"N",</span><br>        R,<br>        C,<br>        B,<br>        lda,<br>        X,<br>        lda,<br>        rcond,<br>        ferr,<br>        berr,<br>        work,<br>        iwork,<br>        info);
</td>
</tr>
<br></tbody>
</table>

<br><hr style="width: 100%; height: 6px;"><br>
<body>
<table style="border-collapse: collapse;text-align: left; width: 100%;" 
 cellpadding="5">
<colgroup span="3"><col width="70%"><col width="15%"><col width="15%"></colgroup><tbody>
<tr><td><b>Class</b></td>
<td style="vertical-align: middle; text-align: center;"><b>Version 1</b></td><td style="vertical-align: middle; text-align: center;"><b>Version 2</b></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica_3_2_1_Build_4.UsersGuide.ReleaseNotes.Version_3_2_1_build_4</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">class Modelica_3_2_1_Build_4.UsersGuide.ReleaseNotes.Version_3_2_1_build_3</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica_3_2_1_Build_4.Mechanics.Rotational.Examples.Utilities.SpringDamperNoRelativeStates</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica_3_2_1_Build_4.Fluid.Examples.NonCircularPipes</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica_3_2_1_Build_4.Media.Examples.PsychrometricData</td>
<td style="vertical-align: middle; text-align: left;">Present</td><td style="vertical-align: middle; text-align: left;"><br></td>
</tr><tr>
<tr><td style="vertical-align: middle; text-align: left;">model Modelica_3_2_1_Build_2.Media.Air.MoistAir.PsychrometricData</td>
<td style="vertical-align: middle; text-align: left;"><br></td><td style="vertical-align: middle; text-align: left;">Present</td>
</tr><tr>
</tbody></table></body>
</body>

</html>
